package com.nandi.emergencyinspection.mvp.macro

import com.nandi.emergencyinspection.bean.MacroInfoListBean
import com.nandi.emergencyinspection.bean.TaskListBean
import com.orhanobut.hawk.Hawk
import com.tbright.ktbaselibrary.mvp.BaseModel
import com.tbright.ktbaselibrary.mvp.BasePresenter
import com.tbright.ktbaselibrary.mvp.BaseView

interface MacroLookListContract {

    abstract class MacroLookListPresenter : BasePresenter<BaseModel, MacroLookListView>() {
        abstract fun getList(
            page: Int,
            size: Int,
            disasterId: Int,
            startTime: String? = null,
            endTime: String? = null
        )
    }

    interface MacroLookListView : BaseView {
        fun showResult(result: MacroInfoListBean?)
    }
}